package com.ivan.util;

public class Validator {

	public boolean isNull(Object val){
		if(val instanceof String){
			return null == val || "".equals(val);
		} else {
			return null == val;
		}
	}
	
}
